<div class="type_break">
  <a class="type_break_item" (click)="addType()"><i class="anticon anticon-plus"></i> 添加</a>
  <a class="type_break_item" (click)="deleteTypeALL()" *ngIf="!deleteIcon"><i class="anticon anticon-delete"></i> 删除</a>
  <a class="type_break_item" (click)="undelete()" *ngIf="deleteIcon"><i class="anticon anticon-delete"></i> 取消删除</a>
  <a class="type_break_item" (click)="editALL()" *ngIf="!disShow"><i class="anticon anticon-edit"></i> 编辑</a>
  <a class="type_break_item" (click)="editALLEnd()" *ngIf="disShow"><i class="anticon anticon-edit"></i> 编辑完成</a>
</div>
<div class="type_cont clearfix">
  <div class="type_cont_item" *ngFor="let item of questionKindqList">
    <button nz-button [nzType]="'primary'" [nzSize]="size" *ngIf="!disShow">
      <span>{{item.kindName}}</span>
    </button>
    <nz-input [(ngModel)]="item.kindName" [nzPlaceHolder]="'请输入分类名称'" [nzSize]="'default size'" *ngIf="disShow"></nz-input>
    <!--<i class="anticon anticon-check-circle" *ngIf="deleteIconOne" (click)="saveType(item.qkid,item.kindName)"></i>-->
    <i class="anticon anticon-close-circle" *ngIf="deleteIcon" (click)="deleteTypeOne()"></i>
    <nz-popconfirm [nzTitle]="'确定要删除这个类目吗？'" (nzOnConfirm)="confirm(item.qkid)" (nzOnCancel)="cancel(item.qkid)" *ngIf="deleteIcon">
      <a nz-popconfirm class="anticon anticon-close-circle"></a>
    </nz-popconfirm>
  </div>
  <div class="type_cont_item addtype" *ngIf="addtype">
    <nz-input [(ngModel)]="inputValue" [nzPlaceHolder]="'请输入分类名称'" [nzSize]="'default size'"></nz-input>
    <i class="anticon anticon-check-circle" (click)="newSaveType()"></i>
    <i class="anticon anticon-close-circle" (click)="cancelType()"></i>
  </div>
</div>
